<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts: esp8266/uart_register.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">ESP8266ILI9341DisplayProject</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_cc2d49507704e901eabd8a82be491fc5.html">esp8266</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">uart_register.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="esp8266_2uart__register_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * File : uart_register.h</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> * Copyright (C) 2013 - 2016, Espressif Systems</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> * This program is free software: you can redistribute it and/or modify</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * it under the terms of version 3 of the GNU General Public License as</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> * published by the Free Software Foundation.</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> * This program is distributed in the hope that it will be useful,</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> * GNU General Public License for more details.</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> * You should have received a copy of the GNU General Public License along</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> * with this program.  If not, see &lt;http://www.gnu.org/licenses/&gt;.</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> *  Copyright (c) 2010 - 2011 Espressif System</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;</div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#ifndef UART_REGISTER_H_</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#define UART_REGISTER_H_</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;</div><div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#ac5cd689ce3d25457c29ddd7476bc17d7">   25</a></span>&#160;<span class="preprocessor">#define REG_UART_BASE(i)                (0x60000000 + (i)*0xf00)</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment">//version value:32&#39;h062000</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;</div><div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a100bbf8ae46bfc48a6bc9a927d100917">   28</a></span>&#160;<span class="preprocessor">#define UART_FIFO(i)                    (REG_UART_BASE(i) + 0x0)</span></div><div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a7b991f1c4f8ca6c8ee9ec445d1377ea7">   29</a></span>&#160;<span class="preprocessor">#define UART_RXFIFO_RD_BYTE                 0x000000FF</span></div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#ad9ddec565c810665e9c2888198c3f101">   30</a></span>&#160;<span class="preprocessor">#define UART_RXFIFO_RD_BYTE_S               0</span></div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;</div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a020f9b1434714c0dff560e41ae6dd121">   32</a></span>&#160;<span class="preprocessor">#define UART_INT_RAW(i)                 (REG_UART_BASE(i) + 0x4)</span></div><div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#aa757a2c44c9e6cade5b97e21a6cd05c5">   33</a></span>&#160;<span class="preprocessor">#define UART_RXFIFO_TOUT_INT_RAW            (BIT(8))</span></div><div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a5d2428dc99ed54772bcc2bfb339d3a2c">   34</a></span>&#160;<span class="preprocessor">#define UART_BRK_DET_INT_RAW                (BIT(7))</span></div><div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a51fff3c4e3abac79d82fba08ea7c9ea5">   35</a></span>&#160;<span class="preprocessor">#define UART_CTS_CHG_INT_RAW                (BIT(6))</span></div><div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a9c2e56cb93c7922691bf822995dad198">   36</a></span>&#160;<span class="preprocessor">#define UART_DSR_CHG_INT_RAW                (BIT(5))</span></div><div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a967ed6290448848e0c3ae86f01655bdb">   37</a></span>&#160;<span class="preprocessor">#define UART_RXFIFO_OVF_INT_RAW             (BIT(4))</span></div><div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a283f39b0924076fb9e61e02e4986591f">   38</a></span>&#160;<span class="preprocessor">#define UART_FRM_ERR_INT_RAW                (BIT(3))</span></div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a79318023173e6a3e198931a7db3e9254">   39</a></span>&#160;<span class="preprocessor">#define UART_PARITY_ERR_INT_RAW             (BIT(2))</span></div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#ac9e7194cd12c1bb56148828139922845">   40</a></span>&#160;<span class="preprocessor">#define UART_TXFIFO_EMPTY_INT_RAW           (BIT(1))</span></div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a4f624433802d78978f770b745134a33f">   41</a></span>&#160;<span class="preprocessor">#define UART_RXFIFO_FULL_INT_RAW            (BIT(0))</span></div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;</div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#aff5fa3feb80c0237201d1ca3a8615d59">   43</a></span>&#160;<span class="preprocessor">#define UART_INT_ST(i)                  (REG_UART_BASE(i) + 0x8)</span></div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#adb29e36bfe993435034dc8cbb0fd2d50">   44</a></span>&#160;<span class="preprocessor">#define UART_RXFIFO_TOUT_INT_ST             (BIT(8))</span></div><div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a80a4d875902b87e7d47b085ed82c1786">   45</a></span>&#160;<span class="preprocessor">#define UART_BRK_DET_INT_ST                 (BIT(7))</span></div><div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a7a1132dd3519c71cbbc7c1654c0c840a">   46</a></span>&#160;<span class="preprocessor">#define UART_CTS_CHG_INT_ST                 (BIT(6))</span></div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#ad141f471419da29d7fd0621b65721fa1">   47</a></span>&#160;<span class="preprocessor">#define UART_DSR_CHG_INT_ST                 (BIT(5))</span></div><div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a300754c230af410b7b0d6099a680b465">   48</a></span>&#160;<span class="preprocessor">#define UART_RXFIFO_OVF_INT_ST              (BIT(4))</span></div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a26bdc6a10434604f657884f01e76a9fe">   49</a></span>&#160;<span class="preprocessor">#define UART_FRM_ERR_INT_ST                 (BIT(3))</span></div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a3ad1a35058786bd0529622366dc10892">   50</a></span>&#160;<span class="preprocessor">#define UART_PARITY_ERR_INT_ST              (BIT(2))</span></div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a58d031bd8ee3907b9e00761696cd352b">   51</a></span>&#160;<span class="preprocessor">#define UART_TXFIFO_EMPTY_INT_ST            (BIT(1))</span></div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#ac95a6733a87d61884e3aa4d520d2c1f6">   52</a></span>&#160;<span class="preprocessor">#define UART_RXFIFO_FULL_INT_ST             (BIT(0))</span></div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;</div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#ac6ce538b7a0389b41640e89990d0d76d">   54</a></span>&#160;<span class="preprocessor">#define UART_INT_ENA(i)                 (REG_UART_BASE(i) + 0xC)</span></div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#ae07a4ee9c7e3c6828d0a2e0a3e4da0bf">   55</a></span>&#160;<span class="preprocessor">#define UART_RXFIFO_TOUT_INT_ENA            (BIT(8))</span></div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a4c17274ad3c4c9036307b1ea376cfe0c">   56</a></span>&#160;<span class="preprocessor">#define UART_BRK_DET_INT_ENA                (BIT(7))</span></div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a01dee39116b6ef8e4e38df1e3d0b6ae0">   57</a></span>&#160;<span class="preprocessor">#define UART_CTS_CHG_INT_ENA                (BIT(6))</span></div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a7907119cfdd1ec386ab9b2c6a950b7b4">   58</a></span>&#160;<span class="preprocessor">#define UART_DSR_CHG_INT_ENA                (BIT(5))</span></div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a610393c9afbd43f64b95b44003a051d4">   59</a></span>&#160;<span class="preprocessor">#define UART_RXFIFO_OVF_INT_ENA             (BIT(4))</span></div><div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#ac2191f5f2ea54851d5f18b47afd4cfec">   60</a></span>&#160;<span class="preprocessor">#define UART_FRM_ERR_INT_ENA                (BIT(3))</span></div><div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a064c256bf7281bbaedbb95b78ed38c74">   61</a></span>&#160;<span class="preprocessor">#define UART_PARITY_ERR_INT_ENA             (BIT(2))</span></div><div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#aa1ab82a46ab6ea6c6fa443acb2301a2e">   62</a></span>&#160;<span class="preprocessor">#define UART_TXFIFO_EMPTY_INT_ENA           (BIT(1))</span></div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#adf96029f1be0842496155dcc8f6868de">   63</a></span>&#160;<span class="preprocessor">#define UART_RXFIFO_FULL_INT_ENA            (BIT(0))</span></div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;</div><div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a4a450c7ddda3d960c70a0ceac5e19b9b">   65</a></span>&#160;<span class="preprocessor">#define UART_INT_CLR(i)                 (REG_UART_BASE(i) + 0x10)</span></div><div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a2cd7fe69ace8fd91a1e79c798c3c7688">   66</a></span>&#160;<span class="preprocessor">#define UART_RXFIFO_TOUT_INT_CLR            (BIT(8))</span></div><div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#ad17612065a90475975ca97c627fb2c82">   67</a></span>&#160;<span class="preprocessor">#define UART_BRK_DET_INT_CLR                (BIT(7))</span></div><div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#ae6abc5e9a93bfdec372d7f7b1bec0a94">   68</a></span>&#160;<span class="preprocessor">#define UART_CTS_CHG_INT_CLR                (BIT(6))</span></div><div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#ad41fbd7d137cbd5c64f306760887d695">   69</a></span>&#160;<span class="preprocessor">#define UART_DSR_CHG_INT_CLR                (BIT(5))</span></div><div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a003d91828ec5cfe9472adc0a97c9a625">   70</a></span>&#160;<span class="preprocessor">#define UART_RXFIFO_OVF_INT_CLR             (BIT(4))</span></div><div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a027d84148bd462db117ed1865be9f3b6">   71</a></span>&#160;<span class="preprocessor">#define UART_FRM_ERR_INT_CLR                (BIT(3))</span></div><div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#ab1a9b0c666d021bb7935c3f664ca9306">   72</a></span>&#160;<span class="preprocessor">#define UART_PARITY_ERR_INT_CLR             (BIT(2))</span></div><div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a5a3496dae81512d62d02450b408f76d2">   73</a></span>&#160;<span class="preprocessor">#define UART_TXFIFO_EMPTY_INT_CLR           (BIT(1))</span></div><div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a9807543880b8867e285033b87c721324">   74</a></span>&#160;<span class="preprocessor">#define UART_RXFIFO_FULL_INT_CLR            (BIT(0))</span></div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;</div><div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a365003a775ec4d2abc0baf485bd6947b">   76</a></span>&#160;<span class="preprocessor">#define UART_CLKDIV(i)                  (REG_UART_BASE(i) + 0x14)</span></div><div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#ac48a21dd2483d1cdecaa1e99ab07360f">   77</a></span>&#160;<span class="preprocessor">#define UART_CLKDIV_CNT                     0x000FFFFF</span></div><div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a16995f80828f70c03bb24eec4c62ac47">   78</a></span>&#160;<span class="preprocessor">#define UART_CLKDIV_S                       0</span></div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;</div><div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a64c393ddc51987c502d5c2c13e7507f2">   80</a></span>&#160;<span class="preprocessor">#define UART_AUTOBAUD(i)                (REG_UART_BASE(i) + 0x18)</span></div><div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#ab4a8e61c4e33bc1e8be6a692d223cfe6">   81</a></span>&#160;<span class="preprocessor">#define UART_GLITCH_FILT                    0x000000FF</span></div><div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a0cc740de729b88e71c5ff68dcb043471">   82</a></span>&#160;<span class="preprocessor">#define UART_GLITCH_FILT_S                  8</span></div><div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a464d76d596fd3c336660784182b9eafd">   83</a></span>&#160;<span class="preprocessor">#define UART_AUTOBAUD_EN                    (BIT(0))</span></div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;</div><div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#aa069c3a91501d33accc3c760840fd29a">   85</a></span>&#160;<span class="preprocessor">#define UART_STATUS(i)                  (REG_UART_BASE(i) + 0x1C)</span></div><div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a92a783385325f2ce25693bc5beafc49c">   86</a></span>&#160;<span class="preprocessor">#define UART_TXD                            (BIT(31))</span></div><div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#ac96bb647f631105bebe4b2e631e8feaf">   87</a></span>&#160;<span class="preprocessor">#define UART_RTSN                           (BIT(30))</span></div><div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#affdb9305bdf0dded8558984e20283848">   88</a></span>&#160;<span class="preprocessor">#define UART_DTRN                           (BIT(29))</span></div><div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a95d6f1cf76090799914abd3fccfa8a96">   89</a></span>&#160;<span class="preprocessor">#define UART_TXFIFO_CNT                     0x000000FF</span></div><div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a450a8df365d3306ea53de5763b6a51e5">   90</a></span>&#160;<span class="preprocessor">#define UART_TXFIFO_CNT_S                   16</span></div><div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a89e30ef9081c8bdc9c7799990a57c133">   91</a></span>&#160;<span class="preprocessor">#define UART_RXD                            (BIT(15))</span></div><div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#aed42d9be1d3d1ce0d046da12b957458b">   92</a></span>&#160;<span class="preprocessor">#define UART_CTSN                           (BIT(14))</span></div><div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a6585845f3acf36436906339b8f213961">   93</a></span>&#160;<span class="preprocessor">#define UART_DSRN                           (BIT(13))</span></div><div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#ae9d6ce323b6534461cfaf1f6bd797f31">   94</a></span>&#160;<span class="preprocessor">#define UART_RXFIFO_CNT                     0x000000FF</span></div><div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a760503f72822d1975589fc0e4be1d482">   95</a></span>&#160;<span class="preprocessor">#define UART_RXFIFO_CNT_S                   0</span></div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;</div><div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a92e318703bd3a12db8856182b046f76f">   97</a></span>&#160;<span class="preprocessor">#define UART_CONF0(i)                   (REG_UART_BASE(i) + 0x20)</span></div><div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#ac561892956c5fa13ee4ba820912b18d7">   98</a></span>&#160;<span class="preprocessor">#define UART_DTR_INV                        (BIT(24))</span></div><div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a1d9536807bc017ff2e076cc059931c6d">   99</a></span>&#160;<span class="preprocessor">#define UART_RTS_INV                        (BIT(23))</span></div><div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#afdd03ac3b648686960b262bc481d2293">  100</a></span>&#160;<span class="preprocessor">#define UART_TXD_INV                        (BIT(22))</span></div><div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#aba427b8887d8053ae1923111ad4bc061">  101</a></span>&#160;<span class="preprocessor">#define UART_DSR_INV                        (BIT(21))</span></div><div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a60742f694aa20e5dc563b82aa1e46e4c">  102</a></span>&#160;<span class="preprocessor">#define UART_CTS_INV                        (BIT(20))</span></div><div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a218cdfad0bcfd58ead42af5062ebeee5">  103</a></span>&#160;<span class="preprocessor">#define UART_RXD_INV                        (BIT(19))</span></div><div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#aea9aaa17f3b5847f810191afe34de2db">  104</a></span>&#160;<span class="preprocessor">#define UART_TXFIFO_RST                     (BIT(18))</span></div><div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#ac7ce3d2ea688e9812d8758ce36d88b3e">  105</a></span>&#160;<span class="preprocessor">#define UART_RXFIFO_RST                     (BIT(17))</span></div><div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#aa0cb321619cd24d7a0c8c081cb6b631a">  106</a></span>&#160;<span class="preprocessor">#define UART_IRDA_EN                        (BIT(16))</span></div><div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a3d4d6a8090a080e81c9193a59f46e24c">  107</a></span>&#160;<span class="preprocessor">#define UART_TX_FLOW_EN                     (BIT(15))</span></div><div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a2b805e61d316003157c1e1da40c7d411">  108</a></span>&#160;<span class="preprocessor">#define UART_LOOPBACK                       (BIT(14))</span></div><div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a8dedc8e0c5569729555b5ce39aa250bd">  109</a></span>&#160;<span class="preprocessor">#define UART_IRDA_RX_INV                    (BIT(13))</span></div><div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#abe0fe0b77a9a47576482e6a171d75c85">  110</a></span>&#160;<span class="preprocessor">#define UART_IRDA_TX_INV                    (BIT(12))</span></div><div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a09bee6aa25a24756839eb072962fe3f0">  111</a></span>&#160;<span class="preprocessor">#define UART_IRDA_WCTL                      (BIT(11))</span></div><div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#aa6f8e53eb44a6983eabff15aadf78f49">  112</a></span>&#160;<span class="preprocessor">#define UART_IRDA_TX_EN                     (BIT(10))</span></div><div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a65c6983d492c0973376d2af82465acc4">  113</a></span>&#160;<span class="preprocessor">#define UART_IRDA_DPLX                      (BIT(9))</span></div><div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a261c0689c954257224dbf2e90d1843f7">  114</a></span>&#160;<span class="preprocessor">#define UART_TXD_BRK                        (BIT(8))</span></div><div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#ab436ba39d05876c5846c125ae6f4ec33">  115</a></span>&#160;<span class="preprocessor">#define UART_SW_DTR                         (BIT(7))</span></div><div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#af1d0fe799840df911e4d935a5757a19d">  116</a></span>&#160;<span class="preprocessor">#define UART_SW_RTS                         (BIT(6))</span></div><div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a81f3a162f93893a91bdbfaff4e8336ab">  117</a></span>&#160;<span class="preprocessor">#define UART_STOP_BIT_NUM                   0x00000003</span></div><div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#af9ece8de00d49ade7f6e85a6270130bd">  118</a></span>&#160;<span class="preprocessor">#define UART_STOP_BIT_NUM_S                 4</span></div><div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#ab55bccd82a4b0403473a4f02f48c6777">  119</a></span>&#160;<span class="preprocessor">#define UART_BIT_NUM                        0x00000003</span></div><div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a399cfc26a21527b14d3df9ad369577c6">  120</a></span>&#160;<span class="preprocessor">#define UART_BIT_NUM_S                      2</span></div><div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a03ce06034f763597b231b722bc1a9571">  121</a></span>&#160;<span class="preprocessor">#define UART_PARITY_EN                      (BIT(1))</span></div><div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#adcdbfc9dd4466df5e43c0d0720465a9f">  122</a></span>&#160;<span class="preprocessor">#define UART_PARITY_EN_M                0x00000001</span></div><div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#ac3c9818b9b6f03fffecaecfd7a47367b">  123</a></span>&#160;<span class="preprocessor">#define UART_PARITY_EN_S                 1</span></div><div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a40f6d25d96053400829579d41169bb50">  124</a></span>&#160;<span class="preprocessor">#define UART_PARITY                         (BIT(0))</span></div><div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a9011199a1ee9f10bd7ad17ee2e77ad2c">  125</a></span>&#160;<span class="preprocessor">#define UART_PARITY_M                       0x00000001</span></div><div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#ae16cc16dcece2cd2a6ea008c8eb6d5ab">  126</a></span>&#160;<span class="preprocessor">#define UART_PARITY_S                        0</span></div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;</div><div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a81c32d64217c77d3a3c2a1cc60ae8afc">  128</a></span>&#160;<span class="preprocessor">#define UART_CONF1(i)                   (REG_UART_BASE(i) + 0x24)</span></div><div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a94902ce03b7f7636cb0294473c0d6b5a">  129</a></span>&#160;<span class="preprocessor">#define UART_RX_TOUT_EN                     (BIT(31))</span></div><div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#aa2b0f795b4fe38399fd46e1d49c107b4">  130</a></span>&#160;<span class="preprocessor">#define UART_RX_TOUT_THRHD                  0x0000007F</span></div><div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a1984877a524a2aece284062ee833ce5a">  131</a></span>&#160;<span class="preprocessor">#define UART_RX_TOUT_THRHD_S                24</span></div><div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a178055db273bd87000f4ce71f8e87a79">  132</a></span>&#160;<span class="preprocessor">#define UART_RX_FLOW_EN                     (BIT(23))</span></div><div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#ac05e8257122c3b65c3f8902a06b51393">  133</a></span>&#160;<span class="preprocessor">#define UART_RX_FLOW_THRHD                  0x0000007F</span></div><div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#af5ae14dc7323ed4a34b29bacbd7dd71b">  134</a></span>&#160;<span class="preprocessor">#define UART_RX_FLOW_THRHD_S                16</span></div><div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#ad3dff449a69c74fc6642b0a01edfbc74">  135</a></span>&#160;<span class="preprocessor">#define UART_TXFIFO_EMPTY_THRHD             0x0000007F</span></div><div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#aa87d0a51ad920a11a348156ecb552005">  136</a></span>&#160;<span class="preprocessor">#define UART_TXFIFO_EMPTY_THRHD_S           8</span></div><div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#af684f04b5e35b86065a88a7aa3e51210">  137</a></span>&#160;<span class="preprocessor">#define UART_RXFIFO_FULL_THRHD              0x0000007F</span></div><div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#ac669f1ce152543af628ffa6d13604d74">  138</a></span>&#160;<span class="preprocessor">#define UART_RXFIFO_FULL_THRHD_S            0</span></div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;</div><div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a1c07c1b1f8e061086653479ecd0950d8">  140</a></span>&#160;<span class="preprocessor">#define UART_LOWPULSE(i)                (REG_UART_BASE(i) + 0x28)</span></div><div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a3cf2b280e21ae6b256e581ebd2a12dd4">  141</a></span>&#160;<span class="preprocessor">#define UART_LOWPULSE_MIN_CNT               0x000FFFFF</span></div><div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a1379827e7f426310692830e8c210c481">  142</a></span>&#160;<span class="preprocessor">#define UART_LOWPULSE_MIN_CNT_S             0</span></div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;</div><div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#ab51341e854b17a7045173786a3f2f31a">  144</a></span>&#160;<span class="preprocessor">#define UART_HIGHPULSE(i)               (REG_UART_BASE(i) + 0x2C)</span></div><div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a8337e53bb35430eded989f967fceac24">  145</a></span>&#160;<span class="preprocessor">#define UART_HIGHPULSE_MIN_CNT              0x000FFFFF</span></div><div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a70658371e826f682fc5cc786ee0f2fd8">  146</a></span>&#160;<span class="preprocessor">#define UART_HIGHPULSE_MIN_CNT_S            0</span></div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;</div><div class="line"><a name="l00148"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#ac8f5416188c2804a73ad97929ef74b73">  148</a></span>&#160;<span class="preprocessor">#define UART_PULSE_NUM(i)               (REG_UART_BASE(i) + 0x30)</span></div><div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a1fcf8fee670507305170194d3ddc3314">  149</a></span>&#160;<span class="preprocessor">#define UART_PULSE_NUM_CNT                  0x0003FF</span></div><div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a89faa31af71bafcddf698356461578a5">  150</a></span>&#160;<span class="preprocessor">#define UART_PULSE_NUM_CNT_S                0</span></div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;</div><div class="line"><a name="l00152"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a3da78fd2543463851e98a601fbf06752">  152</a></span>&#160;<span class="preprocessor">#define UART_DATE(i)                    (REG_UART_BASE(i) + 0x78)</span></div><div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="esp8266_2uart__register_8h.html#a010e71a0078c5c4cdbf5d25da6046475">  153</a></span>&#160;<span class="preprocessor">#define UART_ID(i)                      (REG_UART_BASE(i) + 0x7C)</span></div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;<span class="preprocessor">#endif                                            // UART_REGISTER_H_INCLUDED</span></div></div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Jan 31 2018 21:22:16 for ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
